<?php
namespace haibao\cms\model\data\attendance;

class AttendanceRequestAuditLog extends \haibao\cms\model\data\Base{
    /**
     * 申请通过
     */
    const STATUS_AGREE = 1;
    /**
     * 申请驳回
     */
    const STATUS_BACK = 0;
    /**
     * 等待审核
     */
    const STATUS_WAIT = 2;
    /**
     * 申请Id
     */
    public $RequestId;
    /**
     * 审核人用户Id
     */
    public $AuditUserId;
    /**
     * 审核状态
     */
    public $AuditStatus;
    /**
     * 创建时间
     */
    public $CreateTime;
    public $AuditUserName;
    
    
    public function __construct(){
        parent::__construct();
        $this->intField('RequestId', 'RequestId', true);
        $this->intField('AuditUserId', 'AuditUserId', true);
        $this->intField('AuditStatus', 'AuditStatus', true);
        $this->dateField('CreateTime', 'CreateTime');
        $this->stringField('AuditUserName', 'AuditUserName', true);
        
        $this->setTableName('AttendanceRequestAuditLog');
    }
}